generating functions coefficient extraction